package mhys.Entity;
/*
    教师类
 */

public class Teacher {
    private Integer t_id;
    private String t_name;
    private String t_number;
    private String sex;
    private String classes;
    private String phone;

    public Teacher() {
    }

    public Teacher(Integer t_id, String t_name, String t_number, String sex, String classes, String phone) {
        this.t_id = t_id;
        this.t_name = t_name;
        this.t_number = t_number;
        this.sex = sex;
        this.classes = classes;
        this.phone = phone;
    }

    public Integer getT_id() {
        return t_id;
    }

    public void setT_id(Integer t_id) {
        this.t_id = t_id;
    }

    public String getT_name() {
        return t_name;
    }

    public void setT_name(String t_name) {
        this.t_name = t_name;
    }

    public String getT_number() {
        return t_number;
    }

    public void setT_number(String t_number) {
        this.t_number = t_number;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "t_id=" + t_id +
                ", t_name='" + t_name + '\'' +
                ", t_number='" + t_number + '\'' +
                ", sex='" + sex + '\'' +
                ", classes='" + classes + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
